A multistage mathematical-informational task "Piecewise linear functions iterating dynamics" aimed at students' creativity development is examined in this paper. The stages of the assignment involve both solving mathematical tasks on determining basins of attraction of functions and developing a computer program for their construction. What acts as an important constituent of the task, are the stages of researching the dynamics of functions and conducting a computer experiment. What is used for these purposes is the method of iterating the functions under study. Students are introduced to this method when solving nonlinear equations, studying the contraction operator, proving theorems about the existence and uniqueness of a solution to a di...